package com.jing.weibo.mapper.system;

import java.util.List;

import com.jing.weibo.pojo.system.Feedback;

/**
 *反馈建议的Mapper
 * @author jing.yue
 * @version 2012/08/30 1.0.0
 */
public interface FeedbackMapper {

	/**
	 * 保存反馈建议
	 * @param feedback
	 * @throws Exception
	 */
	public abstract void saveFeedback(Feedback feedback) throws Exception;

	/**
	 * 分页获取反馈列表
	 * @param feedback
	 * @return
	 * @throws Exception
	 */
	public abstract List<Feedback> findFeedback(Feedback feedback) throws Exception;

	/**
	 * 分页获取反馈列表记录数
	 * @param feedback
	 * @return
	 * @throws Exception
	 */
	public abstract Integer findFeedbackCount(Feedback feedback) throws Exception;

	/**
	 * 根据编号和审核状态修改反馈信息
	 * @param feedback
	 * @throws Exception
	 */
	public abstract void updateCheckFeedback(Feedback feedback) throws Exception;

	/**
	 * 根据ID获取反馈对象
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public abstract Feedback findByIdFeedback(Integer id) throws Exception;
}